<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>硬件列表</title>
		<#include "/WEB-INF/ftl/supplier/include.ftl" />
		<link type="text/css" rel="stylesheet" href="${base}/css/supplier/list.css" />
		<link type="text/css" rel="stylesheet" href="${base}/css/supplier/list_hardware.css" />
        <script type="text/javascript" src="${base}/js/supplier/hardware_list.js"></script>
	</head>
	<body>
		<div class="header">
			<div class="logo">
				<a href="javascript:void(0);">首页</a>
			</div>
			<div class="tab">
				<a href="${base}/supplier/index.do">供货商</a>
				<a href="${base}/supplier/mainBoardList.do" class="selected">硬件产品</a>
				<a href="javascript:void(0);" class="last">硬件订单</a>
			</div>
			<p>
				<a href="javascript:void(0);">后台首页</a>
				<a target="_blank" href="/">商城首页</a>
				<a href="${base}/supplier/logout.do">退出管理</a>
			</p>
		</div>
		<div class="header-bar">
			<span>admin，您好！</span>
		</div>
		<div class="side">
			<ul>
				<li class="submenu">
                    <span>硬件列表</span>
                    <ul>
                        <li class="selected"><a href="javascript:void(0);">主板列表</a></li>
                    </ul>
                </li>
                <li class="submenu">
                    <span>添加硬件</span>
                    <ul>
                        <li><a href="${base}/supplier/goAddMainBoard.do">添加主板</a></li>
                        <li><a href="javascript:void(0);">添加CPU</a></li>
                        <li><a href="javascript:void(0);">添加内存</a></li>
                        <li><a href="javascript:void(0);">添加硬盘</a></li>
                        <li><a href="javascript:void(0);">添加显卡</a></li>
                        <li><a href="javascript:void(0);">添加机箱</a></li>
                        <li><a href="javascript:void(0);">添加电源</a></li>
                        <li><a href="javascript:void(0);">添加散热器</a></li>
                        <li><a href="javascript:void(0);">添加光驱</a></li>
                        <li><a href="javascript:void(0);">添加显示器</a></li>
                        <li><a href="javascript:void(0);">添加音箱</a></li>
                        <li><a href="javascript:void(0);">添加声卡</a></li>
                        <li><a href="javascript:void(0);">添加网卡</a></li>
                    </ul>
                </li>
			</ul>
		</div>
		<div class="main">
			<div class="navigation">
				硬件产品&nbsp;&gt;
				主板列表
			</div>
			<div class="top-bar">&nbsp;</div>
			<table>
				<thead>
					<tr>
						<th><span class="category">硬件类别</span></th>
						<th><span class="model">硬件型号</span></th>
						<th><span class="brand">品牌</span></th>
						<th><span class="time">添加时间</span></th>
						<th><span class="price">售价</span></th>
						<th><span class="sales">销量</span></th>
						<th><span class="operation">操作</span></th>
					</tr>
				</thead>
				<tbody>
					<#list hardwareList as mainBoard>
					<tr>
						<#assign model = mainBoard.model />
						<#assign brand = mainBoard.brand.brand />
						<#assign time = mainBoard.inStorageTime />
						<#assign price = mainBoard.iPrice />
						<#assign sales = mainBoard.sale />
						<td><span class="category">主板</span></td>
						<td title="${model}"><span class="model">${model}</span></td>
						<td><span class="brand">${brand}</span></td>
						<td><span class="time">${time}</span></td>
						<td><span class="price">&yen;<b>${price}</b></span></td>
						<td><span class="sales">${sales}</span></td>
						<td><span class="operation">操作</span></td>
					</tr>
					</#list>
				</tbody>
			</table>
		</div>
	</body>
</html>
